//
//  KDPatientAppliBackView.m
//  LaiKeDaoClient
//
//  Created by dongkedi的iMac on 15/11/25.
//  Copyright © 2015年 LKD. All rights reserved.
//

#import "KDPatientAppliBackView.h"

@implementation KDPatientAppliBackView

-(id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setFrame:(CGRect){0,0,kScreenWidth,kScreenWidth}];
        self.backgroundColor = [UIColor clearColor];
        
        float   imageWidth = 47;
        UIImageView     *backImageView = [[UIImageView alloc] initWithFrame:(CGRect){kScreenWidth/2-imageWidth/2,175/2,imageWidth,imageWidth}];
        [backImageView setImage:[UIImage imageNamed:@"ic_add-no-message@2X.png"]];
        [self addSubview: backImageView];
        
        UILabel     *backLabel = [[UILabel alloc] initWithFrame:(CGRect){0,Y(backImageView)+imageWidth+20,kScreenWidth,20}];
        [backLabel setText:@"还没有加号申请提醒"];
        [backLabel setTextAlignment:NSTextAlignmentCenter];
        [backLabel setTextColor:[UIColor lightGrayColor]];
        [self addSubview:backLabel];
    }
    return self;
}


@end
